package com.cdie.myschool.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author 朱华扬
 * @date 2022/10/8 14:42
 * @Description
 */
@Data
@TableName(value = "course")
public class CourseData {
    @TableField(value = "id")
    private int id;         //主键

    @TableField(value = "course_code")
    private String courseCode;  //课程编码

    @TableField(value = "course_name")
    private String courseName;  //课程编码

    @TableField(value = "course_hours")
    private String courseHours; //课程总学时

    @TableField(value = "department_code")
    private String departmentCode;  //院系所号

    @TableField(value = "course_credit")
    private String courseCredit;    //学分

    @TableField(value = "course_status")
    private Byte courseStatus;  //是否可用

    @TableField(value = "timestamp")
    private Date timestamp;     //时间戳
}
